package com.erlinyou.im.web.vo.chat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 最近会话返回实体类
 * @author xujie
 *
 */
@ApiModel(value = "ChatSessionVo",description = "最近联系人实体")
public class ChatSessionVo{
	/**
	 * 对方id
	 */
	@ApiModelProperty(notes = "对方ID", required = true)
	private Long rid;
	/**
	 * 更新时间
	 */
	@ApiModelProperty(notes = "更新时间", required = true)
	private Long uptime;
	@ApiModelProperty(notes = "聊天类型", required = true)
	private int ctype;
	/**
	 * 消息内容
	 */
	@ApiModelProperty(notes = "最后消息内容", required = true)
	private String content;
	/**
	 * 未读数
	 */
	@ApiModelProperty(notes = "未读消息数量", required = true)
	private int noreadnum;
	@ApiModelProperty(notes = "NickName", required = true)
	private String nickName;
	@ApiModelProperty(notes = "Image", required = true)
	private String image;
	
	
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public Long getRid() {
		return rid;
	}
	public void setRid(Long rid) {
		this.rid = rid;
	}
	public Long getUptime() {
		return uptime;
	}
	public void setUptime(Long uptime) {
		this.uptime = uptime;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getNoreadnum() {
		return noreadnum;
	}
	public void setNoreadnum(int noreadnum) {
		this.noreadnum = noreadnum;
	}
	public int getCtype() {
		return ctype;
	}
	public void setCtype(int ctype) {
		this.ctype = ctype;
	}
	
}
